/*
 * @Author: fjxcjm 3157329468@qq.com
 * @Date: 2024-10-08 18:07:42
 * @LastEditors: fjxcjm 3157329468@qq.com
 * @LastEditTime: 2024-10-11 15:50:56
 * @FilePath: \vue3-project\src\router\modules\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
const modules = import.meta.glob("./*/index.js", { eager: true }); // 动态导入当前目录下所有index.js文件
const route = [];

for (const path in modules) {
  const mod = modules[path].default;
  route.push(...mod);
}

export default route;
